import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		tabBar:{
			//自定义tableBar内容
			color: "#150201",
			selectedColor: "#e94921",
			backgroundColor: "#f1f1f1",
			items:[
				{
					index:1,
					label:'首页',
					iconPath:'../static/icon/index_icon.png',
					selectIconPath:'../static/icon/index_active_icon.png',
					filePath:'pages/index/index',
					midShow:false
				},
				{
					index:2,
					label:'新闻通知',
					iconPath:'../static/icon/news_icon.png',
					selectIconPath:'../static/icon/news_active_icon.png',
					filePath:'pages/news/index',
					midShow:false
				},
				{
					index:3,
					label:'直播',
					iconPath:'../static/icon/index_icon.png',
					selectIconPath:'../static/icon/index_icon.png',
					filePath:'pages/live/index',
					midShow:true
				},
				{
					index:4,
					label:'购物车',
					iconPath:'../static/icon/shop_icon.png',
					selectIconPath:'../static/icon/shop_active_icon.png',
					filePath:'pages/shopCar/index',
					midShow:false
				},
				{
					index:5,
					label:'个人中心',
					iconPath:'../static/icon/self_icon.png',
					selectIconPath:'../static/icon/self_active_icon.png',
					filePath:'pages/userCenter/index',
					midShow:false
				}
			]
		},
		bigSwiper:[
			'https://cdn.uviewui.com/uview/swiper/1.jpg',
			'https://cdn.uviewui.com/uview/swiper/2.jpg',
			'https://cdn.uviewui.com/uview/swiper/3.jpg'
		],
		smallSwiper:[
			{
				title:'Q萌有爱，就等你来',
				image:'https://img.zcool.cn/community/01873c594cb6d2a8012193a362f739.jpg@1280w_1l_2o_100sh.jpg'
			},
			{
				title:'Just Do It',
				image:'https://5b0988e595225.cdn.sohucs.com/images/20171108/76c6c6f214db4f0d9c09feb00deef9e1.jpeg'
			},
			{
				title:'有问题，就会有答案',
				image:'https://p2.itc.cn/q_70/images03/20210115/f24aae01d6524c37897d0116e2afa33d.jpeg'
			}
		]
	},
	mutations: {},
	actions: {},
	getters: {
		
	},
	modules: {}
})

export default store